<h2>省份</h2>
<div>
<% @provinces.each do |province| -%>
  <a href="#province-<%= province.id %>" style="font-size:14px"><%= province.title %></a>
<% end -%>
</div>
<hr />
<% @provinces.each do |province| -%>
  <h2><a name="province-<%= province.id %>"></a><%= h province.title %></h2>
  <table border="0" cellspacing="0" cellpadding="2" width="100%" class="left ol">
    <tr>
      <th>校名</th>
      <th>提交者</th>
      <th>最后更新日期</th>
    </tr>
  <% @output[province.id].each do |school| -%>
    <tr>
      <td width="60%"><%= link_to school.title, school_path(school.id) %></td>
      <td width="20%"><%= link_to school.login, user_path(school.submitor_id) %></td>
      <td><span class="tip"><%= show_date school.updated_at %></span></td>
    </tr>
  <% end %>
  </table>
<% end -%>